The idiomatic expression "to keep someone playing for hours" means to engage or occupy a person in an activity, usually one involving amusement and entertainment, so much that they continue doing it without getting bored or losing interest. This phrase is often used when describing activities such as gaming, reading, watching movies or TV shows, etc., where the content is captivating enough to hold someone's attention for an extended period of time.